projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b7004f
)
wayland/surface: Fix toplevel present roundtrip condition
author
Jonas Ådahl
<jadahl@gmail.com>
Fri, 7 Aug 2020 07:02:03 +0000
(09:02 +0200)
committer
Jonas Ådahl
<jadahl@gmail.com>
Fri, 7 Aug 2020 07:06:21 +0000
(09:06 +0200)
We should round trip until we both have received callback and have
ensured we received the initial configuration.
gdk/wayland/gdksurface-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdksurface-wayland.c
b/gdk/wayland/gdksurface-wayland.c
index 2d6cafd18713c3c5ffd9bd4069e05a184963aba8..fccfa9a0033547147102efb6e255a965a1bee9b1 100644
(file)
--- a/
gdk/wayland/gdksurface-wayland.c
+++ b/
gdk/wayland/gdksurface-wayland.c
@@
-4811,8
+4811,7
@@
gdk_wayland_toplevel_present (GdkToplevel *toplevel,
&reconfigure_listener,
&done);
while (is_realized_toplevel (surface) &&
- !impl->initial_configure_received &&
- !done)
+ (!impl->initial_configure_received || !done))
wl_display_dispatch_queue (display_wayland->wl_display, impl->event_queue);
if (needs_reconfigure &&